﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
        <title>${page.Title}#if(${page.PageIndex}>1)_第${page.PageIndex}页#end#if(${page.Channel.Id}!=${page.ParentChannel.Id})_${page.ParentChannel.Title}#end _${site.Name}</title>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="keywords" content="${page.Keywords}  " />
    <meta name="description" content="${page.Description}"/>
<link rel="stylesheet" type="text/css" href="/${skin.Dir}/main.css" />
<meta name="mobile-agent" content="format=html5;url=http://m.gushidaquan.net${page.url}" />
 <link href="/${skin.Dir}/wk_mr.css" type="text/css" rel="stylesheet" />
 
</head>
<body>
    
#parse("${skin.TemplateName}/include/top_logoSelf.htm")
    
<div class="blank4"></div>
<!--头部半通，按钮-->
    <div class="wrap">
  $cmn.Advertise("Index_1").Advertise
    </div>
    <div class="wrap">
        $cmn.Advertise("Index_2").Advertise
    </div>
<!--首页第一部分-->
<div class="blank4"></div>
<div class="wk_mr_wrap">
        <div class="col_side">
            <div class="slideshow clearfix">



                <div class="focus">
                    <ul>
                        
                      
             #foreach($ListInfo in $cmn.ModuleList(${page.ChannelId.ToString()},4,"article","flag!=''","adddate desc",true,true,${site.CacheSecond}))
             #if(${velocityCount}==1)
                <li id="focus${velocityCount}" style="display: block;"><a href="${ListInfo.Url}"  target="_blank">
                            <img src="${ListInfo.Img}" width="389" height="246"
                                alt="${ListInfo.Title}" /></a>
                            <h3>
                                <a href="${ListInfo.Url}"  target="_blank">${ListInfo.Title}</a></h3>
                            <div class="img_content">
                                <a href="${ListInfo.Url}"  target="_blank">${ListInfo.Title}</a></div>
                        </li>
            #else
            <li id="focus${velocityCount}" style="display:none;"><a href="${ListInfo.Url}"  target="_blank">
                            <img src="${ListInfo.Img}" width="389" height="246"
                                alt="${ListInfo.Title}" /></a>
                            <h3>
                                <a href="${ListInfo.Url}"  target="_blank">${ListInfo.Title}</a></h3>
                            <div class="img_content">
                                <a href="${ListInfo.Url}"  target="_blank">${ListInfo.Title}</a></div>
                        </li>
            #end
                #end 
                        
                    </ul>
                    <div class="image_mask">
                    </div>
                    <div class="pagenum">

                 #foreach($ListInfo in $cmn.ModuleList(${page.ChannelId.ToString()},4,"article","flag!=''","adddate desc",true,true,${site.CacheSecond}))
                 #set ($n= ${velocityCount} - 1)
                   #if(${velocityCount}==1)
                 <a target="_self" id="focusnav${velocityCount}" onmouseover="javascript:setfocus($n);"  href="javascript:setfocus($n);" class="active">${velocityCount}</a>
                #else
                 <a target="_self" id="focusnav${velocityCount}" onmouseover="javascript:setfocus($n);"  href="javascript:setfocus($n);" class="">${velocityCount}</a>

                #end
                	 
                #end 
                    </div>
                </div>
            </div>
            <div class="key_words">
           
                <span>热门Tag：</span>    #foreach($Info in $tag.List("${page.Channel.Path}",10))
                 <a href="${Info.Url}"  target="_blank">${Info.TagName}</a>| 
                #end 
            </div>
             <!--最新-->
            <div class="text_box">
                <div class="image_box">
                #foreach($ListInfo in $cmn.ModuleList(${page.ChannelId.ToString()},1,"article","","adddate desc",true,true,${site.CacheSecond}))
                <div class="image">
               <a href="${ListInfo.Url}"  target="_blank">
                            <img src="${ListInfo.Img}"  width="87" height="95"
                                alt="${ListInfo.Title}" />
                </div>
                           <dl>
                        <dt><a href="${ListInfo.Url}"  target="_blank">${ListInfo.Title}</a></dt>
                        <dd>
                           $!cmn.GetLengthString( ${ListInfo.Summary},120,true)<span class="details_link">[<a
                                href="${ListInfo.Url}"  target="_blank">详细</a>]</span></dd>
                    </dl>
                #end 
                    

                    
                    
                </div>
                <div class="clear">
                </div>
                <ul class="list clearfix">
                   
                    #foreach($ListInfo in $cmn.ModuleList(${page.ChannelId.ToString()},12,"article","adddate desc",true,${site.CacheSecond}))
                 <li> <a href="${ListInfo.Url}"  target="_blank">${ListInfo.GetLengthTitle(26)}</a></li>
                #end 
                   
                </ul>
            </div>
            <div class="blank10">
            </div>
            <div class="blank10">
            </div>
           
        </div>
        <div class="col_main">
         <!--推荐-->
            <div class="news_list">
                #foreach($ListInfo in $cmn.ModuleList(${page.ChannelId.ToString()},39,"article","flag!=''","adddate desc",true,${site.CacheSecond}))
                     #if(${velocityCount}==1)
                <h3>
                    <a href="${ListInfo.Url}" title="${ListInfo.Title}"
                        target="_blank">${ListInfo.Title}</a></h3><ul class="clearfix">
                     #elseif( ${velocityCount}>1 &&   ${velocityCount}<6)
                      <li><a href="${ListInfo.Url}" title="${ListInfo.Title}" target="_blank">${ListInfo.GetLengthTitle(22)}</a></li>
                     #elseif( ${velocityCount}==6)
                     </ul>
                      <h3>
                    <a href="${ListInfo.Url}" title="${ListInfo.Title}" target="_blank">${ListInfo.Title}</a></h3>
                <p>
                    $!cmn.GetLengthString( ${ListInfo.Summary},156,true)<span class="details_link">[<a
                        href="${ListInfo.Url}" target="_blank">详细</a>]</span></p>
                     #elseif( ${velocityCount}==7)
                     <h3>
                    <a href="${ListInfo.Url}" title="${ListInfo.Title}" target="_blank">${ListInfo.Title}</a></h3>
                         <ul class="clearfix">
                       #elseif( ${velocityCount}>7)
                      <li><a href="${ListInfo.Url}" title="${ListInfo.Title}" target="_blank">${ListInfo.GetLengthTitle(22)}</a></li>
                     #end
                     #end
                     </ul>

            </div>
            <div class="blank10">
            </div>
        </div>
        <div class="col_extra">
            <div class="r_hd">
                <div class="title">
                   <h3>
                        TOP<span>推荐排行</span></h3>
                </div>
            </div>
         
            <div class="r_bd">



            #foreach($ListInfo in $cmn.ModuleList(${page.ChannelId.ToString()},1,"article","","supportnum desc",true,true,${site.CacheSecond}))
                    
                <div class="bd_text">
                    <h3>
                        <a href="${ListInfo.Url}"  target="_blank">${ListInfo.GetLengthTitle(28,false)}</a></h3>
                </div>
                <div class="image_box">
                    <div class="image">
                        <a href="${ListInfo.Url}"  target="_blank">
                            <img src="${ListInfo.Img}" alt="${ListInfo.Title}" /></a></div>
                    <dl>
                        <dd>
                            $!cmn.GetLengthString( ${ListInfo.Summary},36,true)<span class="details_link">[<a href="${ListInfo.Url}">详细</a>]</span></dd>
                    </dl>
                </div>
                <div class="blank5">
                </div>
                
                #end
                <ul class="list">
                     #foreach($ListInfo in $cmn.ModuleList(${page.ChannelId.ToString()},8,"article","supportnum desc",true,${site.CacheSecond}))
                      <li><a href="${ListInfo.Url}" title="${ListInfo.Title}" target="_blank">${ListInfo.GetLengthTitle(28)}</a></li>                     
                     #end
                     </ul>
                <div class="clear">
                </div>
             
            </div>
            <div class="blank5">
            </div>
            <div class="r_hd">
                <div class="title title1">
                    <h3>
                        TOP<span>热点排行</span></h3>
                </div>
            </div>
            <div class="r_bd">
                <ul class="hot_list">
                #foreach($ListInfo in $cmn.ModuleList(${page.ChannelId.ToString()},8,"article","viewnum desc",true,${site.CacheSecond}))
                       
                        #if(${velocityCount}==1)
                       <li class="hot1">
                        <h3>
                            <a href="${ListInfo.Url}"  target="_blank">${ListInfo.GetLengthTitle(22,false)}</a></h3>
                        <p>
                            $!cmn.GetLengthString( ${ListInfo.Summary},54,false)<span class="details_link">[<a href="${ListInfo.Url}">详细</a>]</span></p>
                    </li>
                        #else

                         <li><a href="${ListInfo.Url}"  target="_blank">${ListInfo.GetLengthTitle(28,false)}</a></li>
                        #end
                #end 


                    
                   
                </ul>
            </div>
        </div>
    </div>
<div class="blank4"></div>

<script type="text/javascript">

	<!--<![CDATA[-->

	var num;

	num = 0;

	setTimeout('change_img()', 3000);

	function change_img() {

		if (num > 3) num = 0;

		setTimeout('setfocus(' + num + ')', 3000);

		num++;

		tt = setTimeout('change_img()', 3000);

	}



	function setfocus(id) {

		selectLayer(id);

	}



	function selectLayer(id) {

		var layers = [document.getElementById("focus1"), document.getElementById("focus2"), document.getElementById("focus3"),document.getElementById("focus4")];

		var layernavs = [document.getElementById("focusnav1"), document.getElementById("focusnav2"), document.getElementById("focusnav3"),document.getElementById("focusnav4")];

		for (var i = 0; i < layers.length; i++) {

			if (!layernavs[i]) continue;

			if (i == id) {

				layernavs[i].className = "active";

				layers[i].style.display = "block";

			} else {

				layernavs[i].className = "";

				layers[i].style.display = "none";

			}

		}		

	}

	<!--]]>-->

</script>



<div class="blank4"></div>
<!--二屏通栏-->
    <div class="wrap">
         $cmn.Advertise("Index_3").Advertise
    </div>
<!--首页第二部分-->
<div class="blank4"></div>

<!--三屏通栏-->
    <div class="wrap">
         $cmn.Advertise("Index_4").Advertise
    </div>
<!--首页第三部分-->
<div class="blank4"></div>
<div class="wrap clearfix">
	<div class="col-main-s fleft">
      #foreach($ClassEntity in $cmn.ChannelList(${page.ChannelId}))
       #odd
        <div class="blank4"></div>
       <div class="beauty rel fleft">    
        #even
        <div class="plastic rel fright">
        
         #each
                   <div class="item">
				<div class="caption clearfix">
					<h2><a href="${ClassEntity.Url}">${ClassEntity.Title}</a></h2>
					<ul>
						<li> #foreach($ClassEntity2 in $cmn.ChannelList(${ClassEntity.Id}))<a href="${ClassEntity2.Url}">${ClassEntity2.Title}</a></li>#end
					</ul>
				</div>
				<div class="list clearfix">

					<ul class="related">
 #foreach($ListInfo in $cmn.ModuleList(${ClassEntity.Id.ToString()},10,"article","adddate desc",true,${site.CacheSecond}))
                <li>·<a  href="${cmn.GetChannelByPath($ListInfo.Path).Url}"> <span class="colorchannel">[${cmn.GetChannelByPath($ListInfo.Path).Title}]</span></a><a href="${ListInfo.Url}" target="_blank">${ListInfo.GetLengthTitle(34)}</a></li>
                #end
					</ul>
				</div>
			</div><!--end item-->
			<div class="abs-tcl"></div>
			<div class="abs-tcr"></div>
			<div class="abs-cl"></div>
			<div class="abs-cr"></div>
		</div>    
                #end 

	</div><!--end col-main-s-->
        <div class="col-side-s fright">

        <div class="blank4">
        </div>
        <div class="best rel">
            <div class="item">
                <div class="caption clearfix">
                    <strong>全站精华</strong></div>
                <div class="list">
                    <ul class="clearfix">
                     #foreach($ListInfo in $cmn.ModuleList("",12,"article","","ordernum asc",true,${site.CacheSecond}))
                 <li><a  href="${cmn.GetChannelByPath($ListInfo.Path).Url}"  target="_blank"> <span class="colorchannel">[${cmn.GetChannelByPath($ListInfo.Path).Title}]</span></a><a href="${ListInfo.Url}"  target="_blank">${ListInfo.Title}</a></li>
                #end 
                        
                    </ul>
                </div>
            </div>
            <!--end item-->
            <div class="abs-tcl">
            </div>
            <div class="abs-tcr">
            </div>
            <div class="abs-cl">
            </div>
            <div class="abs-cr">
            </div>
        </div>
    </div>

        <!--end col-side-s-->
    </div>
    <div class="blank4">
    </div>
    <!--底部通栏-->
    <div class="wrap">
         $cmn.Advertise("Index_5").Advertise
    </div>
    <!--首页第四部分-->
    <div class="blank4">
    </div>
    </div>
    <div class="blank4">
    </div>
      #parse("${skin.TemplateName}/include/footer.htm")
</body>
</html>
